package co.fitstart.admin.dao;


import com.demo2do.core.persistence.annotation.Dynamic;
import com.demo2do.core.persistence.annotation.Query;
import com.demo2do.core.persistence.annotation.Variable;

import co.fitstart.entity.course.SmsBlackList;

/**
 *
 * @author LZJ
 *
 */
@Dynamic("hibernate")
public interface SmsBlackListDao {
    
   
    @Query("FROM SmsBlackList blackList WHERE blackList.mobile = :mobile")
    public SmsBlackList loadBlackList(@Variable("mobile") String mobile);
    
}
